package top.chukongxiang.monitorservice.config.conditation.os;

import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Conditional(ConditionOnOS.class)
public @interface ConditionalOnOS {

    Os[] value();

    Arch[] arch() default Arch.ANY;

    Bit[] bit() default Bit.ANY;
}
